package cn.cdutetc.library.entity.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 图书分类DTO
 */
@Data
public class BookCategoryDTO {
    private Integer categoryId;
    
    @NotBlank(message = "分类名称不能为空")
    private String categoryName;
    
    private String description;
}